package com.dong.mapper;

import com.dong.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {

    //登录验证
    User selectUserByUsername(String username);

    //修改密码
    int updateUserByUsername(User user);
}
